From: Jasper St. Pierre Date: Tue, 27 Aug 2013 00:06:20 +0000 (-0400) Subject: gnome-shell-plugin: Fix unused variable warning X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3608 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2c2268b39de3c3a6ce04f20d8fce4b3b347c76ec;p=gnome-shell.git gnome-shell-plugin: Fix unused variable warning --- diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c index 32d5631db..41dce906d 100644 --- a/src/gnome-shell-plugin.c +++ b/src/gnome-shell-plugin.c @@ -325,9 +325,8 @@ gnome_shell_plugin_xevent_filter (MetaPlugin *plugin, XEvent *xev) { MetaScreen *screen = meta_plugin_get_screen (plugin); - MetaDisplay *display = meta_screen_get_display (screen); - GnomeShellPlugin *shell_plugin = GNOME_SHELL_PLUGIN (plugin); + #ifdef GLX_INTEL_swap_event if (shell_plugin->have_swap_event && xev->type == (shell_plugin->glx_event_base + GLX_BufferSwapComplete))